#ifndef _DOCPAGE_H
#define _DOCPAGE_H

#include <QWidget>

class DocWidget;
class QextSerialPort;

class DocPage:public QWidget
{
  Q_OBJECT
    public:
    DocPage(QextSerialPort* port, QWidget* parent = 0);
	DocWidget *getDocWidget() {return doc;}
public slots:
	void setIncident(int mode);
	void setEmergent(int mode);
private:
	DocWidget *doc;
	QextSerialPort *m_port;
	int m_inMode;
};

#endif
